Skip to content

fix: Fix parsing of legacy transactions without chain ID#762

Merged
ptrus merged 1 commit intomainfrom
ptrus/fix/legacy-tx-parsing
Jul 31, 2025
Merged

fix: Fix parsing of legacy transactions without chain ID#762
ptrus merged 1 commit intomainfrom
ptrus/fix/legacy-tx-parsing

Conversation

@ptrus
Copy link
Copy Markdown
Member

@ptrus ptrus commented Jul 31, 2025

Newer go-ethereum versions reject a zero chainID in LatestSignerForChainID. For legacy transactions without a chain ID, we now correctly pass nil.

TODO:

  • add a test

@ptrus ptrus requested a review from kostko as a code owner July 31, 2025 08:03
@ptrus ptrus force-pushed the ptrus/fix/legacy-tx-parsing branch from 19c2c53 to d5dacad Compare July 31, 2025 08:06
@ptrus ptrus force-pushed the ptrus/fix/legacy-tx-parsing branch from d5dacad to 0ef2d6a Compare July 31, 2025 08:25
Newer go-ethereum versions reject a zero `chainID` in
`LatestSignerForChainID`. For legacy transactions without a chain ID,
we now correctly pass `nil`.
@ptrus ptrus force-pushed the ptrus/fix/legacy-tx-parsing branch from 0ef2d6a to c5d57ab Compare July 31, 2025 08:34
@ptrus ptrus merged commit 9519c57 into main Jul 31, 2025
5 of 6 checks passed
@ptrus ptrus deleted the ptrus/fix/legacy-tx-parsing branch July 31, 2025 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants